/*
 * @Author: zhangyang
 * @Date: 2021-11-14 16:26:02
 * @LastEditTime: 2021-11-14 16:48:51
 * @Description: 无对应服务的控制器
 */
'use strict';

const { Controller } = require('egg');

class ErrorController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = ctx.young_response({
      status: 404,
      msg: '不存在对应的处理方法！',
      data: null
    });
  }
}

module.exports = ErrorController;
